<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
 <head>
  <title>CSS 2.1 Test Suite: float</title>
  <style type="text/css"><![CDATA[
   p { margin: 0; padding: 0; text-align: justify;}
   .eight {float: left; width: 25%; color: white;
           background: navy url(support/square-purple.png) top right no-repeat;
           padding: 0; margin: 0}
   .nine {float: right; width: 50%;
          background-color: teal; color: aqua;
          padding: 0; margin: 0}
   span { color: navy; }
  ]]></style>
  <link title="9.5 Floats" href="http://www.w3.org/TR/CSS21/visuren.html#floats" rel="help"/>
  <link title="9.5.1 Positioning the float: the &apos;float' property" href="http://www.w3.org/TR/CSS21/visuren.html#float-position" rel="help"/>
 </head>
 <body>
  <div style="width: 75%" class="eight">
   <div style="margin-right: 17px" class="nine">
    <p>
     To the right of this teal box there should be a purple square,
     tightly squeezed in between the edge of the teal box and the
     outside edge of the blue block. ⇨
    </p>
   </div>
   <p>
    Inside this blue block on the right there should be a teal box. ⇨
    <span>
     FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL
     FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL
     FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL
     FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL
     FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL
     FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL
     FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL
     FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL
     FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL
     FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL
     FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL
     FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL
     FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL
    </span>    
   </p>
  </div>
 </body>
</html>